#!/bin/bash
eval `grep 'VERSION=' stumblr.py`
# make distro
rm -rf build
mkdir -p build
cp -v stumblr.py build/default.py
# create sis-file
echo "UID = 0x$UID"
../Ensymble/ensymble.py py2sis --uid=0xe3e34da4 --caps=NetworkServices --appname="stumblr" --shortcaption="stumblr" --version=$VERSION --vendor="D.Mych" --verbose --icon=logo.svg build stumblr-${VERSION}.sis
rm -rf build
# create zip-file
zip stumblr-${VERSION}.zip stumblr.py
